package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence(value = "SEQ_ESB_SERVICE_API_PARAM", clazz = Integer.class)
public class EsbServiceApiParam extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
   @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    /**
     * API id对应ESB_SERVICE_API.ID
     */
    private Integer apiId;

    /**
     * 参数类型。0:入参,1:出参
     */
    private String parammode;

    /**
     * 参数名称
     */
    private String paramname;

    /**
     * 参数值类型
     */
    private String paramtype;

    /**
     * 参数说明
     */
    private String paramremarker;

    /**
     * 是否必须。0:是（默认）,1:否
     */
    private String isNecessary;

}
